v2

cacheable='1

regex='(no longer exists)
scrape
notfound=v1

regex='file="([^"]+)"
match htmRaw
file=v1

regex='filekey="([^"]+)"
match htmRaw
filekey=v1

regex='domain="([^"]+)"
match htmRaw
domain=v1

regex='cid="([^"]+)"
match htmRaw
cid=v1

regex='cid2="([^"]+)"
match htmRaw
cid2=v1

regex='cid3='([^']+)'
match htmRaw
cid3=v1

regex='embedSWF\("([^"]+)"
match htmRaw
swf=v1

if notfound>'
  error 'File no longer exists on the server.
endif

if file='
  error 'File ID not found.
endif

if filekey='
  error 'File Key not found.
else
  regex='\.
  replace filekey '%2E
  regex='-
  replace filekey '%2D
endif

if domain='
  domain='http://www.videoweed.es
endif

if swf='
  swf=/player/videoweed-v5.swf
endif

s_url=domain
concat s_url '/api/player.api.php?key=
concat s_url filekey
concat s_url '&cid3=undefined&cid=
concat s_url cid
concat s_url '&numOfErrors=0&user=undefined&cid2=
concat s_url cid2
concat s_url '&file=
concat s_url file
concat s_url '&pass=undefined

ref=domain
concat ref swf